package com.example.service;

import com.example.entity.LoginEntity;
import org.springframework.stereotype.Repository;

public interface LoginService {
    void addUser(LoginEntity entity);
    LoginEntity queryByName(String  name);
    void deleteUser(LoginEntity entity);
    LoginEntity getUserById(Long id);
    String getUserNameById(Long id);
}
